package com.ants.boot.system.dto.sysloginlog;

import com.ants.boot.system.dto.PageDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;

/**
 * @author 蚂蚁会花呗
 * @date 2022/3/21 16:35
 */
@ApiModel(value = "登录搜索查询对象")
public class QuerySysLoginLogDto extends PageDto {

    @ApiModelProperty(value = "登录名",required = true)
    @NotNull(message = "登录名不能为空！")
    private String loginName;

    @ApiModelProperty(value = "登录ip",required = true)
    @NotNull(message = "登录ip不能为空！")
    private String loginIp;

    @ApiModelProperty(value = "开始时间",required = true)
    @NotNull(message = "开始时间不能为空！")
    private String startTime;

    @ApiModelProperty(value = "结束时间",required = true)
    @NotNull(message = "结束时间不能为空！")
    private String endTime;

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getLoginIp() {
        return loginIp;
    }

    public void setLoginIp(String loginIp) {
        this.loginIp = loginIp;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }
}
